package com.symone.webcms.service;

import com.symone.webcms.model.SiteNav;
import com.baomidou.mybatisplus.service.IService;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import java.util.List;
/**
 *   @description : SiteNav 服务接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-03-23
 */
public interface SiteNavService extends IService<SiteNav> {

        boolean insert(SiteNav siteNav);

        Page<SiteNav> findPage(Page<SiteNav> page, Wrapper<SiteNav> siteNav);

        List<SiteNav> findAll();

        int delete(long id);

        boolean deleteFlagById(long id);

        int clear();

        List<SiteNav> getNavTree(String lang);

}
